from rest_framework import serializers
from .models import Banner,Notice
class BannerSerializer(serializers.ModelSerializer):
    class Meta:
        model=Banner
        fields='__all__'
class NoticeSerializer(serializers.ModelSerializer):
    class Meta:
        model=Notice
        fields='__all__'